sequenceDiagram
    participant G as Gateway
    participant A as OrderAppService
    participant D as OrderDomainService
    participant U as UserClient
    participant C as CouponClient
    participant S as StockClient
    participant R as OrderRepository

    G->>A: OrderCreateExecutor转发请求
    Note right of G: 包含原始参数<br/>（JSON/FormData）

    A->>D: 4. 创建订单
    Note left of A: 调用领域服务

    D->>U: 5. 校验用户状态
    U-->>D: 用户有效

    D->>C: 6. 核销优惠券
    C-->>D: 核销成功

    D->>S: 7. 锁定库存
    S-->>D: 锁定成功

    D->>R: 8. 持久化订单
    R-->>D: 返回订单ID

    D->>A: 9. 聚合根

    A->>G: 10. 响应DTO
    Note right of G: 统一包装响应格式
